package com.ctl.szmd.szmd.feature_wm.ui.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.asLiveData
import androidx.paging.PagingData
import com.ctl.szmd.szmd.feature_wm.data.model.WmDataListModel
import com.ctl.szmd.szmd.feature_wm.data.repository.WmRepository
import com.ctl.szmd.szmd.feature_wm.ui.base.BaseWmViewModel

/**
 * created by : chentl
 * Date: 2020/08/04
 */
class WmHeadlinesViewModel(repository: WmRepository) : BaseWmViewModel() {
    val getHeadlineListData: LiveData<PagingData<WmDataListModel>> =
        repository.getHeadlineListData().asLiveData()
}